package com.example.prison.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName alarm_management
 */
@TableName(value ="alarm_management")
@Data
public class AlarmManagement implements Serializable {
    /**
     * 报警ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 报警等级
     */
    @TableField(value = "alarm_level")
    private String alarmLevel;

    /**
     * 电压百分比
     */
    @TableField(value = "voltage")
    private String voltage;

    /**
     * 是否颜色变化（0否1是）
     */
    @TableField(value = "color_change")
    private Integer colorChange;

    /**
     * 是否蜂鸣（0否1是）
     */
    @TableField(value = "buzzing")
    private Integer buzzing;

    /**
     * 是否屏闪（0否1是）
     */
    @TableField(value = "splash_screen")
    private Integer splashScreen;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}